StoreKeeper\WooCommerce\B2C\PaymentGateway\PaymentGateway A

Total Complexity 65
Dependencies 15
Dependents 4
Total lines 632
Lines of code 402
Logical lines of code 176
Comment lines 111
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
registerCheckoutFlash()
S
58 8 14
onReturn()
S
44 5 45
getFinalPaymentPageUrl()
S
55 6 18
createWooCommerceRefund()
S
53 5 23
addGatewayClasses()
S
47 4 38
checkPayment()
S
58 4 15
storekeeperOrderHasRefundWithReturnPayment()
S
67 4 7
createStoreKeeperRefundPayment()
S
61 3 12
refundExists()
S
57 2 17
isPaymentSynced()
S
58 2 16
getPaymentId()
S
58 2 16
getPaymentAmount()
S
58 2 16
updatePayment()
S
58 1 18
addRefund()
S
58 1 18
updateRefund()
S
58 1 18
addPayment()
S
59 1 16
querySql()
S
68 2 7
getUnsyncedRefundsPaymentIds()
S
63 1 12
getUnsyncedRefundsWithoutPaymentIds()
S
63 1 12
markRefundAsSynced()
S
62 1 12
createRefundAsPayment()
S
62 1 11
getReturnUrl()
S
65 1 10
displayFlashCanceled()
S
78 1 3
displayFlashPending()
S
78 1 3
displayFlashError()
S
71 1 5
hasPayment()
S
79 1 3
markPaymentAsSynced()
S
64 1 10
hasUnsyncedRefunds()
S
79 1 3
getCheckOutLogger()
S
76 1 4